function openCheckout()
{
    var myCenter= dijit.byId("myCenter");
    dojo.xhrGet({
        url: 'index.php/checkout/checkout/',

        load: function(data){
            myCenter.set('content', data);
//            dojo.byId('scancode').set('value', "test");
//            dojo.byId('scancode').value="asd";
            var scancode = dojo.byId('scancode');
            scancode.focus();
            scancode.onkeypress = function(){
                console.log("change");
            };
        }
    });
    
}
